package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.SaleListGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SaleListGoodsDao{
    //新增销售单明细
    void saveSaleListGoods(SaleListGoods item);

    //销售单商品信息 Integer saleListId
    List<SaleListGoods> goodsList(@Param("saleListId") Integer saleListId);

    //删除销售单明细
    void deleteSaleListGoods(@Param("saleListId") Integer saleListId);
}
